package com.hgkx.util;

import com.hgkx.domain.MessageBoard;
import org.springframework.beans.factory.annotation.Value;

/**
 * 文件地址
 */
public class FilePath {

    //获取当前项目路径
    public static String TRAY=System.getProperty("user.dir");

    public static String HGKX=TRAY+"/hgkx";

    public static String MESSAGEBOARD=HGKX+"/data/messageData.txt";

    public static String CONTACTUS=HGKX+"/data/contactData.txt";

    public static String UPLOADFILE=HGKX+"/data/uploadFileData.txt";

    public static String Files=HGKX+"/files";

    //文件上传的相对根路径
    public static String RELFILES="/hgkx/files";
}
